#include "EditorPropertyViewModel.h"

#include "Ability/ObjectProperty/EditorObjectPropertyAbilityViewModel.h"


void REditorPropertyViewModel::BindModel(
    TSharedObjectPtr<REditorPropertyModel> InModel
    , TSharedObjectPtr<REditorObjectPropertyAbilityViewModel> InAbilityViewModel)
{
    BaseModel=InModel;
    AbilityViewModel = InAbilityViewModel;
}

float REditorPropertyViewModel::GetSpliterLeftOffset() const
{
    return AbilityViewModel->SpliterLeftOffset;
}

TSharedObjectPtr<REditorPropertyModel> REditorPropertyViewModel::GetModel() const
{
    return BaseModel;
}
